<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.prime.com.tr/ui">

<ui:composition template="/pages/layout/mainLayout.xhtml">
	<ui:define name="bodyComUsuario">

		<div class="post">
		<h2 class="title"><h:outputText
			value="#{bundle['locanet.estiloFilme.cadastro.titulo']}" /></h2>
		<h:form>
			<p:panel header="#{bundle['locanet.estiloFilme.dadosGerais']}">
				<h:panelGrid columns="3">
					<h:outputLabel value="#{bundle['locanet.Filme.filme']}" for="nomeEstiloFilme" />
					<h:inputText id="nomeEstiloFilme" maxlength="100" value="#{estiloFilmeBean.entity.nome}" />
					<h:messages for="nomeEstiloFilme" styleClass="error" />
					
					<h:commandButton value="#{bundle['locanet.butoes.inserir']}"
						action="#{estiloFilmeBean.insert}" />
					<h:commandLink immediate="true" action="#{estiloFilmeBean.search}"
						styleClass="button" value="#{bundle['locanet.butoes.voltar']}" />
				</h:panelGrid>
			</p:panel>
		</h:form></div>
	</ui:define>
</ui:composition>
</html>
